#include<iostream>
using namespace std;
int main ()
{
    int n1,n2;
    cin>> n1;
    cin>> n2;
    if (n2==0)
    {
    cout<<"error";
    }
    else
    {
    cout<<n1/n2;
    }
    return 1;

}
